import http from '@/libs/httpRequest'

// 仓库列表
export const getWarehouse = params => { return http.getApi({url:`/isvpc/Install/warehouse`,params})}
// 获取仓库信息
export const getWarehouseInfo = params => { return http.getApi({url:`/isvpc/Install/warehouseInfo`,params})}
// 删除部门
export const removeDept = data => { return http.postApi({url:`/isvpc/Install/delWarehouseDept`,data})}
// 绑定仓库部门
export const bindDept = data => { return http.postApi({url:`/isvpc/Install/bindDept`,data})}
// 编辑仓库
export const updateDept = data => { return http.postApi({url:`/isvpc/Install/editWarehouse`,data})}

// 绑定仓库成员
export const bindWarehouse = data => { return http.postApi({url:`/isvpc/Install/bindWarehouse`,data})}
// 删除仓库成员
export const delWarehouse = data => { return http.postApi({url:`/isvpc/Install/removeWarehouseAdmin`,data})}

// 新增仓库
export const insertWarehouse = data => { return http.postApi({url:`/isvpc/Install/insertWarehouse`,data})}
// 编辑仓库名称
export const modifyWarehouse = data => { return http.postApi({url:`/isvpc/Install/modifyWarehouse`,data})}
// 删除仓库
export const removeWarehouse = data => { return http.postApi({url:`/isvpc/Install/removeWarehouse`,data})}
// // 绑定仓库成员
// export const bindWarehouse = data => { return http.postApi({url:`/isvpc/Install/bindWarehouse`,data})}






